#include<iostream>
using namespace std;
int main()
{
	int t;
	cin >> t;
	if (t>=25&&t<=30)
	{
		cout << "ok!"<<endl;
		}
	else
	{
		cout << "no!"<<endl;
	}
	return 0;
}